<!DOCTYPE html>
<html lang="en">

<head>
    <?php $this->need('components/include_head.php'); ?>
</head>

<body>
    <!-- 公共网页头部 -->
    <?php $this->need('components/common_head.php'); ?>

    <!-- 首页 -->
    <div class="j-main j-container">

        <!-- 左边内容 -->
        <div class="j-left">

            <!-- 文章列表 -->
            <div class="j-index">

                <div class="search-title">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <path d="M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z"></path>
                        <line x1="16" y1="8" x2="2" y2="22"></line>
                        <line x1="17.5" y1="15" x2="9" y2="15"></line>
                    </svg>
                    <p>
                        搜索到
                        <span><?php echo $this->getTotal(); ?></span>
                        篇与
                        <span><?php echo  $this->_keywords  ?></span>
                        的结果
                    </p>
                </div>

                <!-- 文章列表 -->

                <?php if ($this->have()) : ?>
                    <?php while ($this->next()) : ?>
                        <div class="list">
                            <a class="image" href="<?php $this->permalink() ?>" title="<?php $this->title() ?>">
                                <img class="lazyload" src="<?php $this->options->themeUrl('assets/img/lazyload.jpg'); ?>" data-original="<?php showThumbnail($this); ?>">
                                <span><?php $this->date('Y-m-d'); ?></span>
                                <svg t="1600220458717" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
                                    <path d="M903.93077753 107.30625876H115.78633587C64.57261118 107.30625876 22.58166006 149.81138495 22.58166006 201.02510964v624.26547214c0 51.7240923 41.99095114 93.71694641 93.71694641 93.7169464h788.14444164c51.7202834 0 93.71694641-41.99285557 93.71694642-93.7169464v-624.26547214c-0.51227057-51.21372469-43.01739676-93.71885088-94.229217-93.71885088zM115.78633587 171.8333054h788.65671224c16.385041 0 29.70407483 13.31522639 29.70407484 29.70407482v390.22828696l-173.60830179-189.48107072c-12.80486025-13.82749697-30.21634542-21.50774542-48.14010264-19.97093513-17.92375723 1.02073227-34.82106734 10.75387344-46.60138495 26.11437327l-172.58185762 239.1598896-87.06123767-85.52061846c-12.28878076-11.78222353-27.65308802-17.92375723-44.03812902-17.92375577-16.3907529 0.50846167-31.75506163 7.67644101-43.52966736 20.48129978L86.59453164 821.70468765V202.04965083c-1.02454117-17.41529409 12.80486025-30.73052046 29.19180423-30.21634543zM903.93077753 855.50692718H141.90642105l222.25496164-245.81940722 87.0593347 86.03669649c12.80105134 12.80676323 30.21253651 18.95020139 47.11555999 17.4172 17.40958218-1.53871621 33.79652618-11.26614404 45.06267018-26.11818071l172.58376063-238.64762047 216.11152349 236.08817198 2.05098681-1.54062067v142.87778132c0.50846167 16.3907529-13.31522639 29.70597929-30.21444096 29.70597928z m0 0" p-id="1916"></path>
                                    <path d="M318.07226687 509.82713538c79.88945091 0 144.41649754-65.03741277 144.41649754-144.41649753 0-79.37718032-64.52704663-144.92495923-144.41649754-144.92495922-79.89135536 0-144.41649754 64.52704663-144.41649756 144.41268862 0 79.89135536 64.52514218 144.92876814 144.41649756 144.92876813z m0-225.3266807c44.55230407 0 80.91208763 36.36168802 80.91208762 80.91018317 0 44.55611297-35.84751297 81.43007159-80.91208762 81.43007012-45.06838356 0-80.91589654-36.35978356-80.91589508-80.91589507 0-44.55611297 36.87205415-81.42435823 80.91589508-81.42435822z m0 0" p-id="1917"></path>
                                </svg>
                            </a>
                            <div class="info">
                                <a class="title" href="<?php $this->permalink() ?>" title="<?php $this->title() ?>"><?php $this->title() ?></a>
                                <a class="content" href="<?php $this->permalink() ?>"><?php $this->excerpt(500) ?></a>
                                <div class="meta">
                                    <div class="item" title="文章作者">
                                        <svg t="1598001562776" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
                                            <path d="M512 464c88 0 160-72 160-160s-72-160-160-160-160 72-160 160 72 160 160 160z m-139.2 16C321.6 438.4 288 376 288 304c0-123.2 100.8-224 224-224s224 100.8 224 224c0 70.4-33.6 134.4-84.8 176C811.2 526.4 928 673.6 928 848c0 52.8-43.2 96-96 96H192c-52.8 0-96-43.2-96-96 0-174.4 116.8-321.6 276.8-368zM832 880c17.6 0 32-14.4 32-32 0-176-144-320-320-320h-64c-176 0-320 144-320 320 0 17.6 14.4 32 32 32h640z" p-id="6167"></path>
                                        </svg>
                                        <a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a>
                                    </div>
                                    <div class="item" title="更新日期">
                                        <svg t="1598001985569" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
                                            <path d="M784 160H672v-32c0-17.6-14.4-32-32-32s-32 14.4-32 32v32H416v-32c0-17.6-14.4-32-32-32s-32 14.4-32 32v32H240c-88 0-160 72-160 160v448c0 88 72 160 160 160h544c88 0 160-72 160-160V320c0-88-72-160-160-160z m-544 64h112v32c0 17.6 14.4 32 32 32s32-14.4 32-32v-32h192v32c0 17.6 14.4 32 32 32s32-14.4 32-32v-32h112c52.8 0 96 43.2 96 96v32H144v-32c0-52.8 43.2-96 96-96z m544 640H240c-52.8 0-96-43.2-96-96V416h736v352c0 52.8-43.2 96-96 96z" p-id="7455"></path>
                                            <path d="M288 672h64c17.6 0 32 14.4 32 32s-14.4 32-32 32h-64c-17.6 0-32-14.4-32-32s14.4-32 32-32z m192 0h64c17.6 0 32 14.4 32 32s-14.4 32-32 32h-64c-17.6 0-32-14.4-32-32s14.4-32 32-32z m192 0h64c17.6 0 32 14.4 32 32s-14.4 32-32 32h-64c-17.6 0-32-14.4-32-32s14.4-32 32-32zM288 512h64c17.6 0 32 14.4 32 32s-14.4 32-32 32h-64c-17.6 0-32-14.4-32-32s14.4-32 32-32z m192 0h64c17.6 0 32 14.4 32 32s-14.4 32-32 32h-64c-17.6 0-32-14.4-32-32s14.4-32 32-32z m192 0h64c17.6 0 32 14.4 32 32s-14.4 32-32 32h-64c-17.6 0-32-14.4-32-32s14.4-32 32-32z" p-id="7456"></path>
                                        </svg>
                                        <span><?php $this->date('Y-m-d'); ?></span>
                                    </div>
                                    <div class="item" title="阅读量">
                                        <svg t="1598001816042" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
                                            <path d="M512 896C182.4 896 46.4 630.4 11.2 548.8c-9.6-24-9.6-49.6 0-73.6C46.4 393.6 182.4 128 512 128c328 0 465.6 265.6 500.8 347.2 9.6 24 9.6 49.6 0 73.6C977.6 630.4 840 896 512 896zM70.4 499.2c-3.2 8-3.2 16 0 24C100.8 596.8 222.4 832 512 832s411.2-235.2 441.6-307.2c3.2-8 3.2-16 0-24C923.2 427.2 801.6 192 512 192S100.8 427.2 70.4 499.2zM512 672c-88 0-160-72-160-160s72-160 160-160 160 72 160 160-72 160-160 160z m0-256c-52.8 0-96 43.2-96 96s43.2 96 96 96 96-43.2 96-96-43.2-96-96-96z" p-id="6454"></path>
                                        </svg>
                                        <span><?php get_post_view($this); ?></span>
                                    </div>
                                    <div class="item" title="评论量">
                                        <svg t="1598000883678" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
                                            <path d="M784 144H240c-88 0-160 72-160 160v416c0 88 72 160 160 160h544c88 0 160-72 160-160V304c0-88-72-160-160-160z m-544 64h544c35.2 0 65.6 19.2 81.6 46.4L552 508.8c-24 19.2-57.6 19.2-80 0L158.4 254.4c16-27.2 46.4-46.4 81.6-46.4z m544 608H240c-52.8 0-96-43.2-96-96V326.4L432 560c24 19.2 51.2 28.8 80 28.8 28.8 0 57.6-9.6 80-28.8l288-233.6V720c0 52.8-43.2 96-96 96z" p-id="5879"></path>
                                        </svg>
                                        <span><?php $this->commentsNum('%d'); ?> 条</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    <?php endwhile; ?>
                <?php else : ?>
                    <div class="empty-result">
                        <svg t="1600338221235" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
                            <path d="M456.597204 887.400836V886.000845v1.399991z m56.199656-57.499648c-30.899811 0-56.199656 24.799848-56.199656 56.099657v0.699996c0 6.399961 4.89997 11.39993 11.199932 11.39993 6.299961 0 11.199931-4.999969 11.199931-11.39993v-0.699996c0-18.499887 14.69991-34.099791 33.699794-34.099791 18.999884 0 33.699794 15.599904 33.699793 34.099791v0.699996c0 6.399961 4.89997 11.39993 11.199932 11.39993 6.299961 0 11.199931-4.999969 11.199931-11.39993v-0.699996c0.199999-30.599813-25.099846-56.099656-55.999657-56.099657zM382.19766 709.501926c-15.499905-3.599978-38.599764-2.799983-43.499734 13.499917-2.799983 9.899939 13.299919 11.39993 28.099828 14.899909 11.899927 2.799983 18.299888 9.199944 16.899897 11.39993-2.799983 3.599978-20.399875-3.499979-36.499777 2.099987-15.499905 5.699965-12.599923 19.899878-3.499978 23.399857 9.099944 3.599978 23.899854-0.699996 58.299643 4.999969 17.599892 2.799983 28.099828-2.799983 30.199815-13.499917 3.999976-24.099852-28.299827-51.799683-49.999694-56.799652zM591.496378 767.001574c2.099987 10.599935 11.899927 16.2999 30.199815 13.499917 34.399789-5.699965 49.199699-1.399991 58.299643-4.999969 9.099944-3.499979 11.899927-18.499887-3.499978-23.399857-15.499905-5.699965-32.999798 1.399991-36.499777-2.099987-2.099987-2.799983 4.89997-9.199944 16.899897-12.099926 14.69991-3.599978 30.899811-4.999969 28.099828-14.899909-4.89997-16.2999-27.399832-16.999896-43.499734-13.499917-21.899866 4.999969-54.299668 32.6998-49.999694 57.499648z m420.697424-296.698184L816.894998 288.604503c-6.299961-6.399961-15.499905-9.199944-24.599849-9.199944H232.598576c-9.099944 0-17.599892 3.499979-23.899854 9.199944L11.999927 470.30339C4.299974 477.403347 0.099999 486.603291 0.099999 497.303225v445.097275c0 44.699726 35.799781 81.5995 80.799506 81.5995h862.494719c44.199729 0 80.799505-36.899774 80.799505-81.5995V497.303225c-0.099999-9.999939-4.999969-19.899878-11.999927-26.999835z m-352.597841-2.799983c-12.599923 0-23.199858 10.599935-23.199858 24.099853 0 66.699592-56.199656 122.799248-122.899247 122.799248s-122.899247-56.099656-122.899248-122.799248c0-12.799922-10.499936-24.099852-23.199858-24.099853H93.499427l146.099106-134.899174H785.995187l144.699114 134.899174H659.595961zM969.994061 515.703112v426.597388c0 15.599904-11.899927 26.999835-26.699837 26.999835H80.899505c-15.499905 0-28.099828-12.099926-28.099828-26.999835V515.703112H344.997888c5.599966 36.899774 23.199858 71.699561 51.299685 97.9994 32.299802 31.199809 73.699549 47.599709 117.299282 47.599709 43.499734 0 84.99948-16.999896 117.299282-47.599709 27.399832-26.999835 45.69972-60.999626 51.299686-97.9994H969.994061zM246.298492 203.505024L157.199037 118.005547c-9.499942-9.199944-9.899939-24.399851-0.799995-34.099791 9.099944-9.599941 24.199852-9.999939 33.699794-0.799995l88.999455 85.499477c9.599941 9.199944 9.899939 24.399851 0.899995 34.099791-9.099944 9.599941-24.099852 9.999939-33.699794 0.799995m245.498497-37.799769c-4.599972-4.399973-7.199956-10.499936-7.399955-16.799897l-3.19998-124.09924C480.897055 11.4062 491.296992 0.406268 504.396912 0.00627c13.199919-0.299998 24.099852 10.199938 24.49985 23.499856l3.099981 124.09924c0.199999 9.699941-5.299968 18.699885-14.099914 22.599862-8.699947 3.999976-18.999884 2.199987-26.09984-4.499973m231.098585 33.399796c-4.599972-4.399973-7.299955-10.499936-7.399955-16.899897-0.199999-6.399961 2.199987-12.599923 6.49996-17.199894l84.599482-90.099449c9.099944-9.599941 24.199852-9.999939 33.699794-0.799995 9.499942 9.199944 9.899939 24.399851 0.799995 34.099791l-84.599482 90.099449c-4.399973 4.599972-10.399936 7.299955-16.699898 7.499954-6.199962 0-12.299925-2.299986-16.899896-6.699959" p-id="5177"></path>
                        </svg>
                        这里空空如也，啥也没有~
                    </div>
                <?php endif; ?>

            </div>

            <!-- 分页 -->
            <?php $this->need('components/common_pagination.php'); ?>
        </div>


        <!-- 侧边栏 -->
        <?php $this->need('components/common_aside.php'); ?>
    </div>


    <!-- 弹幕列表 -->
    <ul class="j-barrager-list">
        <?php $this->widget('Widget_Comments_Recent@r2', 'pageSize=10000000', 'ignoreAuthor=true')->to($comments); ?>
        <?php while ($comments->next()) : ?>
            <li>
                <span class="j-barrager-list-avatar" data-src="//q2.qlogo.cn/g?b=qq&nk=<?php echo $comments->mail; ?>&s=100"></span>
                <span class="j-barrager-list-content"><?php $comments->excerpt(); ?></span>
            </li>
        <?php endwhile; ?>
    </ul>


    <!-- 公共网页底部 -->
    <?php $this->need('components/common_foot.php'); ?>


    <!-- 页面配置项 -->
    <?php $this->need('components/include_config.php'); ?>
</body>

</html>